package work.comeback.omo.dao.user;

import work.comeback.omo.model.user.UserBean;

import java.util.List;

public interface IUser {
    UserBean findUserByID(int id);

    UserBean findUserByUsername(String username);

    List<UserBean> findByRole(String role);

    void deleteUser(UserBean user);

    void updateUser(UserBean user);

    void createUser(UserBean user);
}